package git.JiangZhiXian.shape;

public class Circular extends Shape{
    @Override
    public void draw(){
        super.draw();
    }
    private double radius;
    public double getRadius() {
        return radius;
    }
    public void setRadius(double radius) {
        this.radius = radius;
    }

    public double area(){
        return Math.PI*radius*radius;
    }

}
